//
//  Distric.m
//  Province-City-zone
//
//  Created by Mars_ZXB on 16/7/26.
//  Copyright © 2016年 BAT3. All rights reserved.
//

#import "Distric.h"

@implementation Distric
- (instancetype)initWithName:(NSString *)name {
    // 在实例方法中,self 代表实例对象(调用者)
    if (self = [super init]) {
        _name = name;
    }
    return self;
}

// 重写打印
- (NSString *)description {
    return [NSString stringWithFormat:@"%@",_name];
}

@end

